package com.sky.service;

import com.sky.vo.BusinessDataVO;
import com.sky.vo.DishOverViewVO;
import com.sky.vo.OrderOverViewVO;
import com.sky.vo.SetmealOverViewVO;

import java.time.LocalDate;
import java.time.LocalDateTime;

public interface WorkSpaceService {

    /**
     * 获取今日数据
     * @return
     */
    BusinessDataVO getTodayData();

    /**
     * 获取订单管理数据
     * @return
     */
    OrderOverViewVO getOverViewOrder();

    /**
     * 获取菜品总览数据
     * @return
     */
    DishOverViewVO getOverViewDish();

    /**
     * 获取套餐总览数据
     * @return
     */
    SetmealOverViewVO getOverViewSetMeal();

    /**
     * 获取某日数据
     * @param beginTime 开始时间
     * @param endTime 结束时间
     * @return
     */
    BusinessDataVO getBusinessData(LocalDateTime beginTime, LocalDateTime endTime);
}
